#ifndef KUN_URP_CORE_INCLUDED
#define KUN_URP_CORE_INCLUDED


float SampleCameraDepth(float2 screenPos)
{
// #ifdef _CAMERADEPTHTEXTURE
    return SAMPLE_DEPTH_TEXTURE(_CameraDepthTexture, sampler_CameraDepthTexture, screenPos);
// #else
    // return 1;
// #endif
}


float3 SampleCameraColor(float2 screenPos)
{
// #ifdef _CAMERAOPAQUETEXTURE
    return SAMPLE_TEXTURE2D(_CameraOpaqueTexture, sampler_CameraOpaqueTexture, screenPos).rgb;
// #else
    // return float3(1, 1, 1);
// #endif
}


#endif